<?php

defined('SYSPATH') or die('No direct script access.');
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

class Task_Notification extends Minion_Task {

    protected $_options = array(
        'id' => null,
        'messagegoogle' => null,
        'messageapple' => null,
    );

    protected function _execute(array $params) {
     
        
        if (empty($params['id']) || empty($params['messagegoogle']) || empty($params['messageapple'])) {
            die;
        }
        Controller_Helper_Notification::sent($params['id'], $params['messagegoogle'], $params['messageapple']);
       

        die;
    }

}

?>
